package com.uek.utils;

/**
 * 错误码表
 */
public enum ApiCode {

    SUCCESS(200, "success"),
    ERROR(405,"error"),
    //有异常
    EXCEPTIONFE(500,"exception");

    private final int code;
    private final String msg;

    private ApiCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }


    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
